/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package group6renderer.renderernode;

import group6renderer.HTMLConstants;
import group6renderer.Visitor;

import group6renderer.Display;;
/**
 *
 * @author jonnie
 */
public class BlockQuoteNode extends FormatNode {

   
	public BlockQuoteNode()
	{
		name=HTMLConstants.BLOCKQUOTE;
	}
	
	@Override
    public void drawNode(Display disp) 
    {
	 disp.getState().toggleState(name);
    }

    @Override
    public boolean hasClosing()
    {
	return true;
    }

    @Override
    public TreeNode copy()
    {
	return new BlockQuoteNode();
    }

    @Override
    public void accept(Visitor theVisitor)
    {
	theVisitor.visit(this);
    }

}
